package com.ruoyi.management_controller.HyperlinkTable.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 超链接挂载对象 hyperlink_table
 * 
 * @author ruoyi
 * @date 2024-07-21
 */
public class HyperlinkTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "链接地址")
    private String hyperlink;

    /** $column.columnComment */
    @Excel(name = "菜单名称")
    private String hyperlinkName;

    /** $column.columnComment */
    @Excel(name = "链接类型")
    private Long mainId;

    /** $column.columnComment */
    @Excel(name = "")
    private Long emptyIntField;


    @Excel(name = "")
    private String emptyVarcharField;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHyperlink(String hyperlink) 
    {
        this.hyperlink = hyperlink;
    }

    public String getHyperlink() 
    {
        return hyperlink;
    }
    public void setHyperlinkName(String hyperlinkName) 
    {
        this.hyperlinkName = hyperlinkName;
    }

    public String getHyperlinkName() 
    {
        return hyperlinkName;
    }
    public void setMainId(Long mainId) 
    {
        this.mainId = mainId;
    }

    public Long getMainId() 
    {
        return mainId;
    }
    public void setEmptyIntField(Long emptyIntField) 
    {
        this.emptyIntField = emptyIntField;
    }

    public Long getEmptyIntField() 
    {
        return emptyIntField;
    }
    public void setEmptyVarcharField(String emptyVarcharField) 
    {
        this.emptyVarcharField = emptyVarcharField;
    }

    public String getEmptyVarcharField() 
    {
        return emptyVarcharField;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("hyperlink", getHyperlink())
            .append("hyperlinkName", getHyperlinkName())
            .append("mainId", getMainId())
            .append("emptyIntField", getEmptyIntField())
            .append("emptyVarcharField", getEmptyVarcharField())
            .toString();
    }
}
